/ Developer CD Series 1994 November: Tool Chest
/ Dev.CD Nov 94.toast / Apple II / Essentials / Essentials.sea / MPW IIGS Interfaces / PIIGSIncludes / Dialogs.p ![]() | < prev | next > |
MacBinary | 1993-06-15 | 7.1 KB | [TEXT/MPS ] |
Confidence | Program | Detection | Match Type | Support |
---|---|---|---|---|
66% | dexvert | ZX81 Sinclair BASIC (image/sinclairBASIC) | ext | Supported |
10% | dexvert | MacBinary (archive/macBinary) | fallback | Supported |
1% | dexvert | Applause Picture (image/applausePicture) | ext | Unsupported |
1% | dexvert | bsdiff patch (other/bsdiffPatch) | ext | Unsupported |
1% | dexvert | imgdiff patch (other/imgdiffPatch) | ext | Unsupported |
1% | dexvert | MATLAB p-code (other/matlabPCode) | ext | Unsupported |
1% | dexvert | WSUS Patch Storage File (other/wsusPatchStorageFile) | ext | Unsupported |
1% | dexvert | Text File (text/txt) | fallback | Supported |
100% | file | MacBinary II, inited, Tue Jun 15 12:16:48 1993, modified Tue Jun 15 12:16:48 1993, creator 'MPS ', type ASCII, 6596 bytes "Dialogs.p" , at 0x1a44 428 bytes resource | default (weak) | |
99% | file | data | default | |
74% | TrID | Macintosh plain text (MacBinary) | default | |
25% | TrID | MacBinary 2 | default (weak) | |
100% | siegfried | fmt/1762 MacBinary (II) | default | |
100% | lsar | MacBinary | default |
id metadata | |
---|---|
key | value |
macFileType | [TEXT] |
macFileCreator | [MPS ] |
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 09 44 69 61 6c 6f 67 | 73 2e 70 00 00 00 00 00 |..Dialog|s.p.....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 01 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 19 c4 00 | 00 01 ac a8 43 a6 70 a8 |........|....C.p.|
|00000060| 43 a6 70 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |C.p.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 03 ea 00 00 |........|........|
|00000080| 7b 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |{*******|********|
|00000090| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000000a0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 0d 3b 20 |********|*****.; |
|000000b0| 46 69 6c 65 3a 20 44 69 | 61 6c 6f 67 73 2e 70 0d |File: Di|alogs.p.|
|000000c0| 3b 0d 3b 0d 3b 20 43 6f | 70 79 72 69 67 68 74 20 |;.;.; Co|pyright |
|000000d0| 41 70 70 6c 65 20 43 6f | 6d 70 75 74 65 72 2c 20 |Apple Co|mputer, |
|000000e0| 49 6e 63 2e 20 31 39 38 | 36 2d 39 30 0d 3b 20 41 |Inc. 198|6-90.; A|
|000000f0| 6c 6c 20 52 69 67 68 74 | 73 20 52 65 73 65 72 76 |ll Right|s Reserv|
|00000100| 65 64 0d 3b 0d 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |ed.;.***|********|
|00000110| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000120| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000130| 2a 7d 0d 0d 55 4e 49 54 | 20 44 49 41 4c 4f 47 53 |*}..UNIT| DIALOGS|
|00000140| 3b 0d 0d 49 4e 54 45 52 | 46 41 43 45 0d 0d 55 53 |;..INTER|FACE..US|
|00000150| 45 53 20 54 59 50 45 53 | 2c 51 55 49 43 4b 44 52 |ES TYPES|,QUICKDR|
|00000160| 41 57 2c 45 56 45 4e 54 | 53 2c 43 4f 4e 54 52 4f |AW,EVENT|S,CONTRO|
|00000170| 4c 53 2c 57 49 4e 44 4f | 57 53 2c 4c 49 4e 45 45 |LS,WINDO|WS,LINEE|
|00000180| 44 49 54 3b 0d 0d 43 4f | 4e 53 54 0d 7b 20 45 72 |DIT;..CO|NST.{ Er|
|00000190| 72 6f 72 20 43 6f 64 65 | 73 20 7d 0d 62 61 64 49 |ror Code|s }.badI|
|000001a0| 74 65 6d 54 79 70 65 20 | 3d 20 24 31 35 30 41 3b |temType |= $150A;|
|000001b0| 0d 6e 65 77 49 74 65 6d | 46 61 69 6c 65 64 20 3d |.newItem|Failed =|
|000001c0| 20 24 31 35 30 42 3b 0d | 69 74 65 6d 4e 6f 74 46 | $150B;.|itemNotF|
|000001d0| 6f 75 6e 64 20 3d 20 24 | 31 35 30 43 3b 0d 6e 6f |ound = $|150C;.no|
|000001e0| 74 4d 6f 64 61 6c 44 69 | 61 6c 6f 67 20 3d 20 24 |tModalDi|alog = $|
|000001f0| 31 35 30 44 3b 0d 0d 7b | 20 43 6f 6d 6d 61 6e 64 |150D;..{| Command|
|00000200| 20 43 6f 64 65 73 20 7d | 0d 67 65 74 49 6e 69 74 | Codes }|.getInit|
|00000210| 56 69 65 77 20 3d 20 24 | 30 30 30 31 3b 0d 67 65 |View = $|0001;.ge|
|00000220| 74 49 6e 69 74 54 6f 74 | 61 6c 20 3d 20 24 30 30 |tInitTot|al = $00|
|00000230| 30 32 3b 0d 67 65 74 49 | 6e 69 74 56 61 6c 75 65 |02;.getI|nitValue|
|00000240| 20 3d 20 24 30 30 30 33 | 3b 0d 73 63 72 6f 6c 6c | = $0003|;.scroll|
|00000250| 4c 69 6e 65 55 70 20 3d | 20 24 30 30 30 34 3b 0d |LineUp =| $0004;.|
|00000260| 73 63 72 6f 6c 6c 4c 69 | 6e 65 44 6f 77 6e 20 3d |scrollLi|neDown =|
|00000270| 20 24 30 30 30 35 3b 0d | 73 63 72 6f 6c 6c 50 61 | $0005;.|scrollPa|
|00000280| 67 65 55 70 20 3d 20 24 | 30 30 30 36 3b 0d 73 63 |geUp = $|0006;.sc|
|00000290| 72 6f 6c 6c 50 61 67 65 | 44 6f 77 6e 20 3d 20 24 |rollPage|Down = $|
|000002a0| 30 30 30 37 3b 0d 73 63 | 72 6f 6c 6c 54 68 75 6d |0007;.sc|rollThum|
|000002b0| 62 20 3d 20 24 30 30 30 | 38 3b 0d 0d 7b 20 49 74 |b = $000|8;..{ It|
|000002c0| 65 6d 20 54 79 70 65 20 | 43 6f 64 65 73 20 7d 0d |em Type |Codes }.|
|000002d0| 62 75 74 74 6f 6e 49 74 | 65 6d 20 3d 20 24 30 30 |buttonIt|em = $00|
|000002e0| 30 41 3b 0d 63 68 65 63 | 6b 49 74 65 6d 20 3d 20 |0A;.chec|kItem = |
|000002f0| 24 30 30 30 42 3b 0d 72 | 61 64 69 6f 49 74 65 6d |$000B;.r|adioItem|
|00000300| 20 3d 20 24 30 30 30 43 | 3b 0d 73 63 72 6f 6c 6c | = $000C|;.scroll|
|00000310| 42 61 72 49 74 65 6d 20 | 3d 20 24 30 30 30 44 3b |BarItem |= $000D;|
|00000320| 0d 75 73 65 72 43 74 6c | 49 74 65 6d 20 3d 20 24 |.userCtl|Item = $|
|00000330| 30 30 30 45 3b 0d 73 74 | 61 74 54 65 78 74 20 3d |000E;.st|atText =|
|00000340| 20 24 30 30 30 46 3b 0d | 6c 6f 6e 67 53 74 61 74 | $000F;.|longStat|
|00000350| 54 65 78 74 20 3d 20 24 | 30 30 31 30 3b 0d 65 64 |Text = $|0010;.ed|
|00000360| 69 74 4c 69 6e 65 20 3d | 20 24 30 30 31 31 3b 0d |itLine =| $0011;.|
|00000370| 69 63 6f 6e 49 74 65 6d | 20 3d 20 24 30 30 31 32 |iconItem| = $0012|
|00000380| 3b 0d 70 69 63 49 74 65 | 6d 20 3d 20 24 30 30 31 |;.picIte|m = $001|
|00000390| 33 3b 0d 75 73 65 72 49 | 74 65 6d 20 3d 20 24 30 |3;.userI|tem = $0|
|000003a0| 30 31 34 3b 0d 75 73 65 | 72 43 74 6c 49 74 65 6d |014;.use|rCtlItem|
|000003b0| 32 20 3d 20 24 30 30 31 | 35 3b 0d 6c 6f 6e 67 53 |2 = $001|5;.longS|
|000003c0| 74 61 74 54 65 78 74 32 | 20 3d 20 24 30 30 31 36 |tatText2| = $0016|
|000003d0| 3b 0d 69 74 65 6d 44 69 | 73 61 62 6c 65 20 3d 20 |;.itemDi|sable = |
|000003e0| 24 38 30 30 30 3b 0d 0d | 7b 20 49 74 65 6d 20 54 |$8000;..|{ Item T|
|000003f0| 79 70 65 20 52 61 6e 67 | 65 73 20 7d 0d 6d 69 6e |ype Rang|es }.min|
|00000400| 49 74 65 6d 54 79 70 65 | 20 3d 20 24 30 30 30 41 |ItemType| = $000A|
|00000410| 3b 0d 6d 61 78 49 74 65 | 6d 54 79 70 65 20 3d 20 |;.maxIte|mType = |
|00000420| 24 30 30 31 36 3b 0d 0d | 7b 20 49 74 65 6d 49 44 |$0016;..|{ ItemID|
|00000430| 20 43 6f 64 65 73 20 7d | 0d 6f 6b 20 3d 20 24 30 | Codes }|.ok = $0|
|00000440| 30 30 31 3b 0d 63 61 6e | 63 65 6c 20 3d 20 24 30 |001;.can|cel = $0|
|00000450| 30 30 32 3b 0d 0d 7b 20 | 50 61 72 74 20 43 6f 64 |002;..{ |Part Cod|
|00000460| 65 73 20 7d 0d 69 6e 42 | 75 74 74 6f 6e 20 3d 20 |es }.inB|utton = |
|00000470| 24 30 30 30 32 3b 0d 69 | 6e 43 68 65 63 6b 42 6f |$0002;.i|nCheckBo|
|00000480| 78 20 3d 20 24 30 30 30 | 33 3b 0d 69 6e 52 61 64 |x = $000|3;.inRad|
|00000490| 69 6f 42 75 74 74 6f 6e | 20 3d 20 24 30 30 30 34 |ioButton| = $0004|
|000004a0| 3b 0d 69 6e 55 70 41 72 | 72 6f 77 20 3d 20 24 30 |;.inUpAr|row = $0|
|000004b0| 30 30 35 3b 0d 69 6e 44 | 6f 77 6e 41 72 72 6f 77 |005;.inD|ownArrow|
|000004c0| 20 3d 20 24 30 30 30 36 | 3b 0d 69 6e 50 61 67 65 | = $0006|;.inPage|
|000004d0| 55 70 20 3d 20 24 30 30 | 30 37 3b 0d 69 6e 50 61 |Up = $00|07;.inPa|
|000004e0| 67 65 44 6f 77 6e 20 3d | 20 24 30 30 30 38 3b 0d |geDown =| $0008;.|
|000004f0| 69 6e 53 74 61 74 54 65 | 78 74 20 3d 20 24 30 30 |inStatTe|xt = $00|
|00000500| 30 39 3b 0d 69 6e 47 72 | 6f 77 20 3d 20 24 30 30 |09;.inGr|ow = $00|
|00000510| 30 41 3b 0d 69 6e 45 64 | 69 74 4c 69 6e 65 20 3d |0A;.inEd|itLine =|
|00000520| 20 24 30 30 30 42 3b 0d | 69 6e 55 73 65 72 49 74 | $000B;.|inUserIt|
|00000530| 65 6d 20 3d 20 24 30 30 | 30 43 3b 0d 69 6e 4c 6f |em = $00|0C;.inLo|
|00000540| 6e 67 53 74 61 74 54 65 | 78 74 20 3d 20 24 30 30 |ngStatTe|xt = $00|
|00000550| 30 44 3b 0d 69 6e 49 63 | 6f 6e 49 74 65 6d 20 3d |0D;.inIc|onItem =|
|00000560| 20 24 30 30 30 45 3b 0d | 69 6e 4c 6f 6e 67 53 74 | $000E;.|inLongSt|
|00000570| 61 74 54 65 78 74 32 20 | 3d 20 24 30 30 30 46 3b |atText2 |= $000F;|
|00000580| 0d 69 6e 54 68 75 6d 62 | 20 3d 20 24 30 30 38 31 |.inThumb| = $0081|
|00000590| 3b 0d 0d 7b 20 53 74 61 | 67 65 20 42 69 74 20 56 |;..{ Sta|ge Bit V|
|000005a0| 65 63 74 6f 72 73 20 7d | 0d 6f 6b 44 65 66 61 75 |ectors }|.okDefau|
|000005b0| 6c 74 20 3d 20 24 30 30 | 30 30 3b 0d 63 61 6e 63 |lt = $00|00;.canc|
|000005c0| 65 6c 44 65 66 61 75 6c | 74 20 3d 20 24 30 30 34 |elDefaul|t = $004|
|000005d0| 30 3b 0d 61 6c 65 72 74 | 44 72 61 77 6e 20 3d 20 |0;.alert|Drawn = |
|000005e0| 24 30 30 38 30 3b 0d 0d | 7b 20 4f 74 68 65 72 20 |$0080;..|{ Other |
|000005f0| 43 6f 6e 73 74 61 6e 74 | 73 20 7d 0d 7b 24 49 46 |Constant|s }.{$IF|
|00000600| 43 20 55 4e 44 45 46 49 | 4e 45 44 20 61 74 49 74 |C UNDEFI|NED atIt|
|00000610| 65 6d 4c 69 73 74 4c 65 | 6e 67 74 68 20 7d 20 20 |emListLe|ngth } |
|00000620| 7b 20 41 6c 65 72 74 54 | 65 6d 70 6c 61 74 65 20 |{ AlertT|emplate |
|00000630| 2d 20 44 65 66 61 75 6c | 74 20 6e 75 6d 62 65 72 |- Defaul|t number|
|00000640| 20 6f 66 20 49 74 65 6d | 20 54 65 6d 70 6c 61 74 | of Item| Templat|
|00000650| 65 73 20 7d 0d 61 74 49 | 74 65 6d 4c 69 73 74 4c |es }.atI|temListL|
|00000660| 65 6e 67 74 68 20 3d 20 | 24 30 30 30 35 3b 0d 7b |ength = |$0005;.{|
|00000670| 24 53 45 54 43 20 61 74 | 49 74 65 6d 4c 69 73 74 |$SETC at|ItemList|
|00000680| 4c 65 6e 67 74 68 20 3a | 3d 20 30 7d 0d 7b 24 45 |Length :|= 0}.{$E|
|00000690| 4e 44 43 7d 0d 7b 24 49 | 46 43 20 55 4e 44 45 46 |NDC}.{$I|FC UNDEF|
|000006a0| 49 4e 45 44 20 64 74 49 | 74 65 6d 4c 69 73 74 4c |INED dtI|temListL|
|000006b0| 65 6e 67 74 68 20 7d 20 | 20 7b 20 44 69 61 6c 6f |ength } | { Dialo|
|000006c0| 67 54 65 6d 70 6c 61 74 | 65 20 2d 20 44 65 66 61 |gTemplat|e - Defa|
|000006d0| 75 6c 74 20 6e 75 6d 62 | 65 72 20 6f 66 20 49 74 |ult numb|er of It|
|000006e0| 65 6d 20 54 65 6d 70 6c | 61 74 65 73 20 7d 0d 64 |em Templ|ates }.d|
|000006f0| 74 49 74 65 6d 4c 69 73 | 74 4c 65 6e 67 74 68 20 |tItemLis|tLength |
|00000700| 3d 20 24 30 30 30 38 3b | 0d 7b 24 53 45 54 43 20 |= $0008;|.{$SETC |
|00000710| 64 74 49 74 65 6d 4c 69 | 73 74 4c 65 6e 67 74 68 |dtItemLi|stLength|
|00000720| 20 3a 3d 20 30 7d 0d 7b | 24 45 4e 44 43 7d 0d 0d | := 0}.{|$ENDC}..|
|00000730| 54 59 50 45 0d 0d 44 69 | 61 6c 6f 67 50 74 72 20 |TYPE..Di|alogPtr |
|00000740| 3d 20 47 72 61 66 50 6f | 72 74 50 74 72 20 3b 0d |= GrafPo|rtPtr ;.|
|00000750| 0d 49 74 65 6d 54 65 6d | 70 48 6e 64 6c 20 3d 20 |.ItemTem|pHndl = |
|00000760| 5e 49 74 65 6d 54 65 6d | 70 50 74 72 3b 0d 49 74 |^ItemTem|pPtr;.It|
|00000770| 65 6d 54 65 6d 70 50 74 | 72 20 3d 20 5e 49 74 65 |emTempPt|r = ^Ite|
|00000780| 6d 54 65 6d 70 6c 61 74 | 65 3b 0d 49 74 65 6d 54 |mTemplat|e;.ItemT|
|00000790| 65 6d 70 6c 61 74 65 20 | 3d 20 52 45 43 4f 52 44 |emplate |= RECORD|
|000007a0| 0d 20 20 20 20 69 74 65 | 6d 49 44 20 3a 20 49 6e |. ite|mID : In|
|000007b0| 74 65 67 65 72 3b 0d 20 | 20 20 20 69 74 65 6d 52 |teger;. | itemR|
|000007c0| 65 63 74 20 3a 20 52 65 | 63 74 3b 0d 20 20 20 20 |ect : Re|ct;. |
|000007d0| 69 74 65 6d 54 79 70 65 | 20 3a 20 49 6e 74 65 67 |itemType| : Integ|
|000007e0| 65 72 3b 0d 20 20 20 20 | 69 74 65 6d 44 65 73 63 |er;. |itemDesc|
|000007f0| 72 20 3a 20 50 74 72 3b | 0d 20 20 20 20 69 74 65 |r : Ptr;|. ite|
|00000800| 6d 56 61 6c 75 65 20 3a | 20 49 6e 74 65 67 65 72 |mValue :| Integer|
|00000810| 3b 0d 20 20 20 20 69 74 | 65 6d 46 6c 61 67 20 3a |;. it|emFlag :|
|00000820| 20 49 6e 74 65 67 65 72 | 3b 0d 20 20 20 20 69 74 | Integer|;. it|
|00000830| 65 6d 43 6f 6c 6f 72 20 | 3a 20 50 74 72 3b 20 7b |emColor |: Ptr; {|
|00000840| 20 70 6f 69 6e 74 65 72 | 20 74 6f 20 61 70 70 72 | pointer| to appr|
|00000850| 6f 70 72 69 61 74 65 20 | 74 79 70 65 20 6f 66 20 |opriate |type of |
|00000860| 63 6f 6c 6f 72 20 74 61 | 62 6c 65 20 7d 0d 45 4e |color ta|ble }.EN|
|00000870| 44 3b 0d 0d 41 6c 65 72 | 74 54 65 6d 70 48 6e 64 |D;..Aler|tTempHnd|
|00000880| 6c 20 3d 20 5e 41 6c 65 | 72 74 54 65 6d 70 50 74 |l = ^Ale|rtTempPt|
|00000890| 72 3b 0d 41 6c 65 72 74 | 54 65 6d 70 50 74 72 20 |r;.Alert|TempPtr |
|000008a0| 3d 20 5e 41 6c 65 72 74 | 54 65 6d 70 6c 61 74 65 |= ^Alert|Template|
|000008b0| 3b 0d 41 6c 65 72 74 54 | 65 6d 70 6c 61 74 65 20 |;.AlertT|emplate |
|000008c0| 3d 20 50 41 43 4b 45 44 | 20 52 45 43 4f 52 44 0d |= PACKED| RECORD.|
|000008d0| 20 20 20 20 61 74 42 6f | 75 6e 64 73 52 65 63 74 | atBo|undsRect|
|000008e0| 20 3a 20 52 65 63 74 3b | 0d 20 20 20 20 61 74 41 | : Rect;|. atA|
|000008f0| 6c 65 72 74 49 44 20 3a | 20 49 6e 74 65 67 65 72 |lertID :| Integer|
|00000900| 3b 0d 20 20 20 20 61 74 | 53 74 61 67 65 31 20 3a |;. at|Stage1 :|
|00000910| 20 42 79 74 65 3b 0d 20 | 20 20 20 61 74 53 74 61 | Byte;. | atSta|
|00000920| 67 65 32 20 3a 20 42 79 | 74 65 3b 0d 20 20 20 20 |ge2 : By|te;. |
|00000930| 61 74 53 74 61 67 65 33 | 20 3a 20 42 79 74 65 3b |atStage3| : Byte;|
|00000940| 0d 20 20 20 20 61 74 53 | 74 61 67 65 34 20 3a 20 |. atS|tage4 : |
|00000950| 42 79 74 65 3b 0d 20 20 | 20 20 61 74 49 74 65 6d |Byte;. | atItem|
|00000960| 4c 69 73 74 20 3a 20 41 | 52 52 41 59 5b 31 2e 2e |List : A|RRAY[1..|
|00000970| 61 74 49 74 65 6d 4c 69 | 73 74 4c 65 6e 67 74 68 |atItemLi|stLength|
|00000980| 5d 20 4f 46 20 49 74 65 | 6d 54 65 6d 70 50 74 72 |] OF Ite|mTempPtr|
|00000990| 3b 20 7b 20 4e 75 6c 6c | 20 74 65 72 6d 69 6e 61 |; { Null| termina|
|000009a0| 74 65 64 20 61 72 72 61 | 79 20 7d 0d 45 4e 44 3b |ted arra|y }.END;|
|000009b0| 0d 0d 44 6c 67 54 65 6d | 70 48 6e 64 6c 20 3d 20 |..DlgTem|pHndl = |
|000009c0| 5e 44 6c 67 54 65 6d 70 | 50 74 72 3b 0d 44 6c 67 |^DlgTemp|Ptr;.Dlg|
|000009d0| 54 65 6d 70 50 74 72 20 | 3d 20 5e 44 69 61 6c 6f |TempPtr |= ^Dialo|
|000009e0| 67 54 65 6d 70 6c 61 74 | 65 3b 0d 44 69 61 6c 6f |gTemplat|e;.Dialo|
|000009f0| 67 54 65 6d 70 6c 61 74 | 65 20 3d 20 52 45 43 4f |gTemplat|e = RECO|
|00000a00| 52 44 0d 20 20 20 20 64 | 74 42 6f 75 6e 64 73 52 |RD. d|tBoundsR|
|00000a10| 65 63 74 20 3a 20 52 65 | 63 74 3b 0d 20 20 20 20 |ect : Re|ct;. |
|00000a20| 64 74 56 69 73 69 62 6c | 65 20 3a 20 42 6f 6f 6c |dtVisibl|e : Bool|
|00000a30| 65 61 6e 3b 0d 20 20 20 | 20 64 74 52 65 66 43 6f |ean;. | dtRefCo|
|00000a40| 6e 20 3a 20 4c 6f 6e 67 | 69 6e 74 3b 0d 20 20 20 |n : Long|int;. |
|00000a50| 20 64 74 49 74 65 6d 4c | 69 73 74 20 3a 20 41 52 | dtItemL|ist : AR|
|00000a60| 52 41 59 5b 31 2e 2e 64 | 74 49 74 65 6d 4c 69 73 |RAY[1..d|tItemLis|
|00000a70| 74 4c 65 6e 67 74 68 5d | 20 4f 46 20 49 74 65 6d |tLength]| OF Item|
|00000a80| 54 65 6d 70 50 74 72 3b | 20 7b 20 4e 75 6c 6c 20 |TempPtr;| { Null |
|00000a90| 74 65 72 6d 69 6e 61 74 | 65 64 20 61 72 72 61 79 |terminat|ed array|
|00000aa0| 20 7d 0d 45 4e 44 3b 0d | 0d 55 73 65 72 43 74 6c | }.END;.|.UserCtl|
|00000ab0| 49 74 65 6d 50 42 48 6e | 64 6c 20 3d 20 5e 55 73 |ItemPBHn|dl = ^Us|
|00000ac0| 65 72 43 74 6c 49 74 65 | 6d 50 42 50 74 72 3b 0d |erCtlIte|mPBPtr;.|
|00000ad0| 55 73 65 72 43 74 6c 49 | 74 65 6d 50 42 50 74 72 |UserCtlI|temPBPtr|
|00000ae0| 20 3d 20 5e 55 73 65 72 | 43 74 6c 49 74 65 6d 50 | = ^User|CtlItemP|
|00000af0| 42 3b 0d 55 73 65 72 43 | 74 6c 49 74 65 6d 50 42 |B;.UserC|tlItemPB|
|00000b00| 20 3d 20 52 45 43 4f 52 | 44 0d 20 20 20 20 64 65 | = RECOR|D. de|
|00000b10| 66 50 72 6f 63 50 61 72 | 6d 20 3a 20 4c 6f 6e 67 |fProcPar|m : Long|
|00000b20| 50 72 6f 63 50 74 72 3b | 0d 20 20 20 20 74 69 74 |ProcPtr;|. tit|
|00000b30| 6c 65 50 61 72 6d 20 3a | 20 50 74 72 3b 0d 20 20 |leParm :| Ptr;. |
|00000b40| 20 20 70 61 72 61 6d 32 | 20 3a 20 49 6e 74 65 67 | param2| : Integ|
|00000b50| 65 72 3b 0d 20 20 20 20 | 70 61 72 61 6d 31 20 3a |er;. |param1 :|
|00000b60| 20 49 6e 74 65 67 65 72 | 3b 0d 45 4e 44 3b 0d 0d | Integer|;.END;..|
|00000b70| 46 55 4e 43 54 49 4f 4e | 20 41 6c 65 72 74 20 28 |FUNCTION| Alert (|
|00000b80| 20 61 6c 65 72 74 54 65 | 6d 70 6c 61 74 65 50 74 | alertTe|mplatePt|
|00000b90| 72 3a 41 6c 65 72 74 54 | 65 6d 70 6c 61 74 65 3b |r:AlertT|emplate;|
|00000ba0| 20 66 69 6c 74 65 72 50 | 72 6f 63 50 74 72 3a 57 | filterP|rocPtr:W|
|00000bb0| 6f 72 64 50 72 6f 63 50 | 74 72 29 20 3a 20 49 6e |ordProcP|tr) : In|
|00000bc0| 74 65 67 65 72 20 3b 0d | 46 55 4e 43 54 49 4f 4e |teger ;.|FUNCTION|
|00000bd0| 20 43 61 75 74 69 6f 6e | 41 6c 65 72 74 20 28 20 | Caution|Alert ( |
|00000be0| 61 6c 65 72 74 54 65 6d | 70 6c 61 74 65 50 74 72 |alertTem|platePtr|
|00000bf0| 3a 41 6c 65 72 74 54 65 | 6d 70 6c 61 74 65 3b 20 |:AlertTe|mplate; |
|00000c00| 66 69 6c 74 65 72 50 72 | 6f 63 50 74 72 3a 57 6f |filterPr|ocPtr:Wo|
|00000c10| 72 64 50 72 6f 63 50 74 | 72 29 20 3a 20 49 6e 74 |rdProcPt|r) : Int|
|00000c20| 65 67 65 72 20 3b 0d 50 | 52 4f 43 45 44 55 52 45 |eger ;.P|ROCEDURE|
|00000c30| 20 43 6c 6f 73 65 44 69 | 61 6c 6f 67 20 28 20 74 | CloseDi|alog ( t|
|00000c40| 68 65 44 69 61 6c 6f 67 | 50 74 72 3a 44 69 61 6c |heDialog|Ptr:Dial|
|00000c50| 6f 67 50 74 72 29 20 20 | 3b 0d 46 55 4e 43 54 49 |ogPtr) |;.FUNCTI|
|00000c60| 4f 4e 20 44 65 66 61 75 | 6c 74 46 69 6c 74 65 72 |ON Defau|ltFilter|
|00000c70| 20 28 20 74 68 65 44 69 | 61 6c 6f 67 50 74 72 3a | ( theDi|alogPtr:|
|00000c80| 44 69 61 6c 6f 67 50 74 | 72 3b 20 74 68 65 45 76 |DialogPt|r; theEv|
|00000c90| 65 6e 74 50 74 72 3a 45 | 76 65 6e 74 52 65 63 6f |entPtr:E|ventReco|
|00000ca0| 72 64 3b 56 41 52 20 69 | 74 65 6d 48 69 74 50 74 |rd;VAR i|temHitPt|
|00000cb0| 72 3a 49 6e 74 65 67 65 | 72 29 20 3a 20 42 6f 6f |r:Intege|r) : Boo|
|00000cc0| 6c 65 61 6e 20 3b 0d 50 | 52 4f 43 45 44 55 52 45 |lean ;.P|ROCEDURE|
|00000cd0| 20 44 69 61 6c 6f 67 42 | 6f 6f 74 49 6e 69 74 20 | DialogB|ootInit |
|00000ce0| 20 20 3b 0d 50 52 4f 43 | 45 44 55 52 45 20 44 69 | ;.PROC|EDURE Di|
|00000cf0| 61 6c 6f 67 52 65 73 65 | 74 20 20 20 3b 0d 46 55 |alogRese|t ;.FU|
|00000d00| 4e 43 54 49 4f 4e 20 44 | 69 61 6c 6f 67 53 65 6c |NCTION D|ialogSel|
|00000d10| 65 63 74 20 28 20 74 68 | 65 45 76 65 6e 74 50 74 |ect ( th|eEventPt|
|00000d20| 72 3a 45 76 65 6e 74 52 | 65 63 6f 72 64 3b 56 41 |r:EventR|ecord;VA|
|00000d30| 52 20 72 65 73 75 6c 74 | 50 74 72 3a 57 69 6e 64 |R result|Ptr:Wind|
|00000d40| 6f 77 50 74 72 3b 56 41 | 52 20 69 74 65 6d 48 69 |owPtr;VA|R itemHi|
|00000d50| 74 50 74 72 3a 49 6e 74 | 65 67 65 72 29 20 3a 20 |tPtr:Int|eger) : |
|00000d60| 42 6f 6f 6c 65 61 6e 20 | 3b 0d 50 52 4f 43 45 44 |Boolean |;.PROCED|
|00000d70| 55 52 45 20 44 69 61 6c | 6f 67 53 68 75 74 44 6f |URE Dial|ogShutDo|
|00000d80| 77 6e 20 20 20 3b 0d 50 | 52 4f 43 45 44 55 52 45 |wn ;.P|ROCEDURE|
|00000d90| 20 44 69 61 6c 6f 67 53 | 74 61 72 74 55 70 20 28 | DialogS|tartUp (|
|00000da0| 20 75 73 65 72 49 44 3a | 49 6e 74 65 67 65 72 29 | userID:|Integer)|
|00000db0| 20 20 3b 0d 46 55 4e 43 | 54 49 4f 4e 20 44 69 61 | ;.FUNC|TION Dia|
|00000dc0| 6c 6f 67 53 74 61 74 75 | 73 20 20 3a 20 42 6f 6f |logStatu|s : Boo|
|00000dd0| 6c 65 61 6e 20 3b 0d 46 | 55 4e 43 54 49 4f 4e 20 |lean ;.F|UNCTION |
|00000de0| 44 69 61 6c 6f 67 56 65 | 72 73 69 6f 6e 20 20 3a |DialogVe|rsion :|
|00000df0| 20 49 6e 74 65 67 65 72 | 20 3b 0d 50 52 4f 43 45 | Integer| ;.PROCE|
|00000e00| 44 55 52 45 20 44 69 73 | 61 62 6c 65 44 49 74 65 |DURE Dis|ableDIte|
|00000e10| 6d 20 28 20 74 68 65 44 | 69 61 6c 6f 67 50 74 72 |m ( theD|ialogPtr|
|00000e20| 3a 44 69 61 6c 6f 67 50 | 74 72 3b 20 69 74 65 6d |:DialogP|tr; item|
|00000e30| 49 44 3a 49 6e 74 65 67 | 65 72 29 20 20 3b 0d 50 |ID:Integ|er) ;.P|
|00000e40| 52 4f 43 45 44 55 52 45 | 20 44 6c 67 43 6f 70 79 |ROCEDURE| DlgCopy|
|00000e50| 20 28 20 74 68 65 44 69 | 61 6c 6f 67 50 74 72 3a | ( theDi|alogPtr:|
|00000e60| 44 69 61 6c 6f 67 50 74 | 72 29 20 20 3b 0d 50 52 |DialogPt|r) ;.PR|
|00000e70| 4f 43 45 44 55 52 45 20 | 44 6c 67 43 75 74 20 28 |OCEDURE |DlgCut (|
|00000e80| 20 74 68 65 44 69 61 6c | 6f 67 50 74 72 3a 44 69 | theDial|ogPtr:Di|
|00000e90| 61 6c 6f 67 50 74 72 29 | 20 20 3b 0d 50 52 4f 43 |alogPtr)| ;.PROC|
|00000ea0| 45 44 55 52 45 20 44 6c | 67 44 65 6c 65 74 65 20 |EDURE Dl|gDelete |
|00000eb0| 28 20 74 68 65 44 69 61 | 6c 6f 67 50 74 72 3a 44 |( theDia|logPtr:D|
|00000ec0| 69 61 6c 6f 67 50 74 72 | 29 20 20 3b 0d 50 52 4f |ialogPtr|) ;.PRO|
|00000ed0| 43 45 44 55 52 45 20 44 | 6c 67 50 61 73 74 65 20 |CEDURE D|lgPaste |
|00000ee0| 28 20 74 68 65 44 69 61 | 6c 6f 67 50 74 72 3a 44 |( theDia|logPtr:D|
|00000ef0| 69 61 6c 6f 67 50 74 72 | 29 20 20 3b 0d 50 52 4f |ialogPtr|) ;.PRO|
|00000f00| 43 45 44 55 52 45 20 44 | 72 61 77 44 69 61 6c 6f |CEDURE D|rawDialo|
|00000f10| 67 20 28 20 74 68 65 44 | 69 61 6c 6f 67 50 74 72 |g ( theD|ialogPtr|
|00000f20| 3a 44 69 61 6c 6f 67 50 | 74 72 29 20 20 3b 0d 50 |:DialogP|tr) ;.P|
|00000f30| 52 4f 43 45 44 55 52 45 | 20 45 6e 61 62 6c 65 44 |ROCEDURE| EnableD|
|00000f40| 49 74 65 6d 20 28 20 74 | 68 65 44 69 61 6c 6f 67 |Item ( t|heDialog|
|00000f50| 50 74 72 3a 44 69 61 6c | 6f 67 50 74 72 3b 20 69 |Ptr:Dial|ogPtr; i|
|00000f60| 74 65 6d 49 44 3a 49 6e | 74 65 67 65 72 29 20 20 |temID:In|teger) |
|00000f70| 3b 0d 50 52 4f 43 45 44 | 55 52 45 20 45 72 72 6f |;.PROCED|URE Erro|
|00000f80| 72 53 6f 75 6e 64 20 28 | 20 73 6f 75 6e 64 50 72 |rSound (| soundPr|
|00000f90| 6f 63 50 74 72 3a 56 6f | 69 64 50 72 6f 63 50 74 |ocPtr:Vo|idProcPt|
|00000fa0| 72 29 20 20 3b 0d 46 55 | 4e 43 54 49 4f 4e 20 46 |r) ;.FU|NCTION F|
|00000fb0| 69 6e 64 44 49 74 65 6d | 20 28 20 74 68 65 44 69 |indDItem| ( theDi|
|00000fc0| 61 6c 6f 67 50 74 72 3a | 44 69 61 6c 6f 67 50 74 |alogPtr:|DialogPt|
|00000fd0| 72 3b 20 74 68 65 50 6f | 69 6e 74 3a 50 6f 69 6e |r; thePo|int:Poin|
|00000fe0| 74 29 20 3a 20 49 6e 74 | 65 67 65 72 20 3b 0d 46 |t) : Int|eger ;.F|
|00000ff0| 55 4e 43 54 49 4f 4e 20 | 47 65 74 41 6c 65 72 74 |UNCTION |GetAlert|
|00001000| 53 74 61 67 65 20 20 3a | 20 49 6e 74 65 67 65 72 |Stage :| Integer|
|00001010| 20 3b 0d 46 55 4e 43 54 | 49 4f 4e 20 47 65 74 43 | ;.FUNCT|ION GetC|
|00001020| 6f 6e 74 72 6f 6c 44 49 | 74 65 6d 20 28 20 74 68 |ontrolDI|tem ( th|
|00001030| 65 44 69 61 6c 6f 67 50 | 74 72 3a 44 69 61 6c 6f |eDialogP|tr:Dialo|
|00001040| 67 50 74 72 3b 20 69 74 | 65 6d 49 44 3a 49 6e 74 |gPtr; it|emID:Int|
|00001050| 65 67 65 72 29 20 3a 20 | 43 74 6c 52 65 63 48 6e |eger) : |CtlRecHn|
|00001060| 64 6c 20 3b 0d 46 55 4e | 43 54 49 4f 4e 20 47 65 |dl ;.FUN|CTION Ge|
|00001070| 74 44 65 66 42 75 74 74 | 6f 6e 20 28 20 74 68 65 |tDefButt|on ( the|
|00001080| 44 69 61 6c 6f 67 50 74 | 72 3a 44 69 61 6c 6f 67 |DialogPt|r:Dialog|
|00001090| 50 74 72 29 20 3a 20 49 | 6e 74 65 67 65 72 20 3b |Ptr) : I|nteger ;|
|000010a0| 0d 50 52 4f 43 45 44 55 | 52 45 20 47 65 74 44 49 |.PROCEDU|RE GetDI|
|000010b0| 74 65 6d 42 6f 78 20 28 | 20 74 68 65 44 69 61 6c |temBox (| theDial|
|000010c0| 6f 67 50 74 72 3a 44 69 | 61 6c 6f 67 50 74 72 3b |ogPtr:Di|alogPtr;|
|000010d0| 20 69 74 65 6d 49 44 3a | 49 6e 74 65 67 65 72 3b | itemID:|Integer;|
|000010e0| 20 69 74 65 6d 42 6f 78 | 50 74 72 3a 52 65 63 74 | itemBox|Ptr:Rect|
|000010f0| 29 20 20 3b 0d 46 55 4e | 43 54 49 4f 4e 20 47 65 |) ;.FUN|CTION Ge|
|00001100| 74 44 49 74 65 6d 54 79 | 70 65 20 28 20 74 68 65 |tDItemTy|pe ( the|
|00001110| 44 69 61 6c 6f 67 50 74 | 72 3a 44 69 61 6c 6f 67 |DialogPt|r:Dialog|
|00001120| 50 74 72 3b 20 69 74 65 | 6d 49 44 3a 49 6e 74 65 |Ptr; ite|mID:Inte|
|00001130| 67 65 72 29 20 3a 20 49 | 6e 74 65 67 65 72 20 3b |ger) : I|nteger ;|
|00001140| 0d 46 55 4e 43 54 49 4f | 4e 20 47 65 74 44 49 74 |.FUNCTIO|N GetDIt|
|00001150| 65 6d 56 61 6c 75 65 20 | 28 20 74 68 65 44 69 61 |emValue |( theDia|
|00001160| 6c 6f 67 50 74 72 3a 44 | 69 61 6c 6f 67 50 74 72 |logPtr:D|ialogPtr|
|00001170| 3b 20 69 74 65 6d 49 44 | 3a 49 6e 74 65 67 65 72 |; itemID|:Integer|
|00001180| 29 20 3a 20 49 6e 74 65 | 67 65 72 20 3b 0d 46 55 |) : Inte|ger ;.FU|
|00001190| 4e 43 54 49 4f 4e 20 47 | 65 74 46 69 72 73 74 44 |NCTION G|etFirstD|
|000011a0| 49 74 65 6d 20 28 20 74 | 68 65 44 69 61 6c 6f 67 |Item ( t|heDialog|
|000011b0| 50 74 72 3a 44 69 61 6c | 6f 67 50 74 72 29 20 3a |Ptr:Dial|ogPtr) :|
|000011c0| 20 49 6e 74 65 67 65 72 | 20 3b 0d 50 52 4f 43 45 | Integer| ;.PROCE|
|000011d0| 44 55 52 45 20 47 65 74 | 49 54 65 78 74 20 28 20 |DURE Get|IText ( |
|000011e0| 74 68 65 44 69 61 6c 6f | 67 50 74 72 3a 44 69 61 |theDialo|gPtr:Dia|
|000011f0| 6c 6f 67 50 74 72 3b 20 | 69 74 65 6d 49 44 3a 49 |logPtr; |itemID:I|
|00001200| 6e 74 65 67 65 72 3b 56 | 41 52 20 74 65 78 74 3a |nteger;V|AR text:|
|00001210| 53 74 72 32 35 35 29 20 | 20 3b 0d 50 52 4f 43 45 |Str255) | ;.PROCE|
|00001220| 44 55 52 45 20 47 65 74 | 4e 65 77 44 49 74 65 6d |DURE Get|NewDItem|
|00001230| 20 28 20 74 68 65 44 69 | 61 6c 6f 67 50 74 72 3a | ( theDi|alogPtr:|
|00001240| 44 69 61 6c 6f 67 50 74 | 72 3b 20 69 74 65 6d 54 |DialogPt|r; itemT|
|00001250| 65 6d 70 6c 61 74 65 50 | 74 72 3a 49 74 65 6d 54 |emplateP|tr:ItemT|
|00001260| 65 6d 70 6c 61 74 65 29 | 20 20 3b 0d 46 55 4e 43 |emplate)| ;.FUNC|
|00001270| 54 49 4f 4e 20 47 65 74 | 4e 65 77 4d 6f 64 61 6c |TION Get|NewModal|
|00001280| 44 69 61 6c 6f 67 20 28 | 20 64 69 61 6c 6f 67 54 |Dialog (| dialogT|
|00001290| 65 6d 70 6c 61 74 65 50 | 74 72 3a 44 69 61 6c 6f |emplateP|tr:Dialo|
|000012a0| 67 54 65 6d 70 6c 61 74 | 65 29 20 3a 20 44 69 61 |gTemplat|e) : Dia|
|000012b0| 6c 6f 67 50 74 72 20 3b | 0d 46 55 4e 43 54 49 4f |logPtr ;|.FUNCTIO|
|000012c0| 4e 20 47 65 74 4e 65 78 | 74 44 49 74 65 6d 20 28 |N GetNex|tDItem (|
|000012d0| 20 74 68 65 44 69 61 6c | 6f 67 50 74 72 3a 44 69 | theDial|ogPtr:Di|
|000012e0| 61 6c 6f 67 50 74 72 3b | 20 69 74 65 6d 49 44 3a |alogPtr;| itemID:|
|000012f0| 49 6e 74 65 67 65 72 29 | 20 3a 20 49 6e 74 65 67 |Integer)| : Integ|
|00001300| 65 72 20 3b 0d 50 52 4f | 43 45 44 55 52 45 20 48 |er ;.PRO|CEDURE H|
|00001310| 69 64 65 44 49 74 65 6d | 20 28 20 74 68 65 44 69 |ideDItem| ( theDi|
|00001320| 61 6c 6f 67 50 74 72 3a | 44 69 61 6c 6f 67 50 74 |alogPtr:|DialogPt|
|00001330| 72 3b 20 69 74 65 6d 49 | 44 3a 49 6e 74 65 67 65 |r; itemI|D:Intege|
|00001340| 72 29 20 20 3b 0d 46 55 | 4e 43 54 49 4f 4e 20 49 |r) ;.FU|NCTION I|
|00001350| 73 44 69 61 6c 6f 67 45 | 76 65 6e 74 20 28 20 74 |sDialogE|vent ( t|
|00001360| 68 65 45 76 65 6e 74 50 | 74 72 3a 45 76 65 6e 74 |heEventP|tr:Event|
|00001370| 52 65 63 6f 72 64 29 20 | 3a 20 42 6f 6f 6c 65 61 |Record) |: Boolea|
|00001380| 6e 20 3b 0d 46 55 4e 43 | 54 49 4f 4e 20 4d 6f 64 |n ;.FUNC|TION Mod|
|00001390| 61 6c 44 69 61 6c 6f 67 | 20 28 20 66 69 6c 74 65 |alDialog| ( filte|
|000013a0| 72 50 72 6f 63 50 74 72 | 3a 57 6f 72 64 50 72 6f |rProcPtr|:WordPro|
|000013b0| 63 50 74 72 29 20 3a 20 | 49 6e 74 65 67 65 72 20 |cPtr) : |Integer |
|000013c0| 3b 0d 46 55 4e 43 54 49 | 4f 4e 20 4d 6f 64 61 6c |;.FUNCTI|ON Modal|
|000013d0| 44 69 61 6c 6f 67 32 20 | 28 20 66 69 6c 74 65 72 |Dialog2 |( filter|
|000013e0| 50 72 6f 63 50 74 72 3a | 57 6f 72 64 50 72 6f 63 |ProcPtr:|WordProc|
|000013f0| 50 74 72 29 20 3a 20 4c | 6f 6e 67 69 6e 74 20 3b |Ptr) : L|ongint ;|
|00001400| 0d 50 52 4f 43 45 44 55 | 52 45 20 4e 65 77 44 49 |.PROCEDU|RE NewDI|
|00001410| 74 65 6d 20 28 20 74 68 | 65 44 69 61 6c 6f 67 50 |tem ( th|eDialogP|
|00001420| 74 72 3a 44 69 61 6c 6f | 67 50 74 72 3b 20 69 74 |tr:Dialo|gPtr; it|
|00001430| 65 6d 49 44 3a 49 6e 74 | 65 67 65 72 3b 20 69 74 |emID:Int|eger; it|
|00001440| 65 6d 52 65 63 74 50 74 | 72 3a 52 65 63 74 3b 20 |emRectPt|r:Rect; |
|00001450| 69 74 65 6d 54 79 70 65 | 3a 49 6e 74 65 67 65 72 |itemType|:Integer|
|00001460| 3b 20 69 74 65 6d 44 65 | 73 63 72 3a 50 74 72 3b |; itemDe|scr:Ptr;|
|00001470| 20 69 74 65 6d 56 61 6c | 75 65 3a 49 6e 74 65 67 | itemVal|ue:Integ|
|00001480| 65 72 3b 20 69 74 65 6d | 46 6c 61 67 3a 49 6e 74 |er; item|Flag:Int|
|00001490| 65 67 65 72 3b 20 69 74 | 65 6d 43 6f 6c 6f 72 50 |eger; it|emColorP|
|000014a0| 74 72 3a 50 74 72 29 20 | 20 3b 0d 46 55 4e 43 54 |tr:Ptr) | ;.FUNCT|
|000014b0| 49 4f 4e 20 4e 65 77 4d | 6f 64 61 6c 44 69 61 6c |ION NewM|odalDial|
|000014c0| 6f 67 20 28 20 64 42 6f | 75 6e 64 73 52 65 63 74 |og ( dBo|undsRect|
|000014d0| 50 74 72 3a 52 65 63 74 | 3b 20 64 56 69 73 69 62 |Ptr:Rect|; dVisib|
|000014e0| 6c 65 46 6c 61 67 3a 42 | 6f 6f 6c 65 61 6e 3b 20 |leFlag:B|oolean; |
|000014f0| 64 52 65 66 43 6f 6e 3a | 4c 6f 6e 67 69 6e 74 29 |dRefCon:|Longint)|
|00001500| 20 3a 20 44 69 61 6c 6f | 67 50 74 72 20 3b 0d 46 | : Dialo|gPtr ;.F|
|00001510| 55 4e 43 54 49 4f 4e 20 | 4e 65 77 4d 6f 64 65 6c |UNCTION |NewModel|
|00001520| 65 73 73 44 69 61 6c 6f | 67 20 28 20 64 42 6f 75 |essDialo|g ( dBou|
|00001530| 6e 64 73 52 65 63 74 50 | 74 72 3a 52 65 63 74 3b |ndsRectP|tr:Rect;|
|00001540| 20 64 54 69 74 6c 65 3a | 53 74 72 32 35 35 3b 20 | dTitle:|Str255; |
|00001550| 64 42 65 68 69 6e 64 50 | 74 72 3a 44 69 61 6c 6f |dBehindP|tr:Dialo|
|00001560| 67 50 74 72 3b 20 64 46 | 6c 61 67 3a 49 6e 74 65 |gPtr; dF|lag:Inte|
|00001570| 67 65 72 3b 20 64 52 65 | 66 43 6f 6e 3a 4c 6f 6e |ger; dRe|fCon:Lon|
|00001580| 67 69 6e 74 3b 20 64 46 | 75 6c 6c 53 69 7a 65 50 |gint; dF|ullSizeP|
|00001590| 74 72 3a 52 65 63 74 29 | 20 3a 20 44 69 61 6c 6f |tr:Rect)| : Dialo|
|000015a0| 67 50 74 72 20 3b 0d 46 | 55 4e 43 54 49 4f 4e 20 |gPtr ;.F|UNCTION |
|000015b0| 4e 6f 74 65 41 6c 65 72 | 74 20 28 20 61 6c 65 72 |NoteAler|t ( aler|
|000015c0| 74 54 65 6d 70 6c 61 74 | 65 50 74 72 3a 41 6c 65 |tTemplat|ePtr:Ale|
|000015d0| 72 74 54 65 6d 70 6c 61 | 74 65 3b 20 66 69 6c 74 |rtTempla|te; filt|
|000015e0| 65 72 50 72 6f 63 50 74 | 72 3a 57 6f 72 64 50 72 |erProcPt|r:WordPr|
|000015f0| 6f 63 50 74 72 29 20 3a | 20 49 6e 74 65 67 65 72 |ocPtr) :| Integer|
|00001600| 20 3b 0d 50 52 4f 43 45 | 44 55 52 45 20 50 61 72 | ;.PROCE|DURE Par|
|00001610| 61 6d 54 65 78 74 20 28 | 20 70 61 72 61 6d 30 3a |amText (| param0:|
|00001620| 53 74 72 32 35 35 3b 20 | 70 61 72 61 6d 31 3a 53 |Str255; |param1:S|
|00001630| 74 72 32 35 35 3b 20 70 | 61 72 61 6d 32 3a 53 74 |tr255; p|aram2:St|
|00001640| 72 32 35 35 3b 20 70 61 | 72 61 6d 33 3a 53 74 72 |r255; pa|ram3:Str|
|00001650| 32 35 35 29 20 20 3b 0d | 50 52 4f 43 45 44 55 52 |255) ;.|PROCEDUR|
|00001660| 45 20 52 65 6d 6f 76 65 | 44 49 74 65 6d 20 28 20 |E Remove|DItem ( |
|00001670| 74 68 65 44 69 61 6c 6f | 67 50 74 72 3a 44 69 61 |theDialo|gPtr:Dia|
|00001680| 6c 6f 67 50 74 72 3b 20 | 69 74 65 6d 49 44 3a 49 |logPtr; |itemID:I|
|00001690| 6e 74 65 67 65 72 29 20 | 20 3b 0d 50 52 4f 43 45 |nteger) | ;.PROCE|
|000016a0| 44 55 52 45 20 52 65 73 | 65 74 41 6c 65 72 74 53 |DURE Res|etAlertS|
|000016b0| 74 61 67 65 20 20 20 3b | 0d 50 52 4f 43 45 44 55 |tage ;|.PROCEDU|
|000016c0| 52 45 20 53 65 6c 65 63 | 74 49 54 65 78 74 20 28 |RE Selec|tIText (|
|000016d0| 20 74 68 65 44 69 61 6c | 6f 67 50 74 72 3a 44 69 | theDial|ogPtr:Di|
|000016e0| 61 6c 6f 67 50 74 72 3b | 20 69 74 65 6d 49 44 3a |alogPtr;| itemID:|
|000016f0| 49 6e 74 65 67 65 72 3b | 20 73 74 61 72 74 53 65 |Integer;| startSe|
|00001700| 6c 3a 49 6e 74 65 67 65 | 72 3b 20 65 6e 64 53 65 |l:Intege|r; endSe|
|00001710| 6c 3a 49 6e 74 65 67 65 | 72 29 20 20 3b 0d 50 52 |l:Intege|r) ;.PR|
|00001720| 4f 43 45 44 55 52 45 20 | 53 65 6c 49 54 65 78 74 |OCEDURE |SelIText|
|00001730| 20 28 20 74 68 65 44 69 | 61 6c 6f 67 50 74 72 3a | ( theDi|alogPtr:|
|00001740| 44 69 61 6c 6f 67 50 74 | 72 3b 20 69 74 65 6d 49 |DialogPt|r; itemI|
|00001750| 44 3a 49 6e 74 65 67 65 | 72 3b 20 74 68 65 53 74 |D:Intege|r; theSt|
|00001760| 72 69 6e 67 50 74 72 3a | 53 74 72 69 6e 67 50 74 |ringPtr:|StringPt|
|00001770| 72 29 20 20 3b 0d 50 52 | 4f 43 45 44 55 52 45 20 |r) ;.PR|OCEDURE |
|00001780| 53 65 74 44 41 46 6f 6e | 74 20 28 20 66 6f 6e 74 |SetDAFon|t ( font|
|00001790| 48 61 6e 64 6c 65 3a 46 | 6f 6e 74 48 6e 64 6c 29 |Handle:F|ontHndl)|
|000017a0| 20 20 3b 0d 50 52 4f 43 | 45 44 55 52 45 20 53 65 | ;.PROC|EDURE Se|
|000017b0| 74 44 65 66 42 75 74 74 | 6f 6e 20 28 20 64 65 66 |tDefButt|on ( def|
|000017c0| 42 75 74 74 6f 6e 49 44 | 3a 49 6e 74 65 67 65 72 |ButtonID|:Integer|
|000017d0| 3b 20 74 68 65 44 69 61 | 6c 6f 67 50 74 72 3a 44 |; theDia|logPtr:D|
|000017e0| 69 61 6c 6f 67 50 74 72 | 29 20 20 3b 0d 50 52 4f |ialogPtr|) ;.PRO|
|000017f0| 43 45 44 55 52 45 20 53 | 65 74 44 49 74 65 6d 42 |CEDURE S|etDItemB|
|00001800| 6f 78 20 28 20 74 68 65 | 44 69 61 6c 6f 67 50 74 |ox ( the|DialogPt|
|00001810| 72 3a 44 69 61 6c 6f 67 | 50 74 72 3b 20 69 74 65 |r:Dialog|Ptr; ite|
|00001820| 6d 49 44 3a 49 6e 74 65 | 67 65 72 3b 20 69 74 65 |mID:Inte|ger; ite|
|00001830| 6d 42 6f 78 50 74 72 3a | 52 65 63 74 29 20 20 3b |mBoxPtr:|Rect) ;|
|00001840| 0d 50 52 4f 43 45 44 55 | 52 45 20 53 65 74 44 49 |.PROCEDU|RE SetDI|
|00001850| 74 65 6d 54 79 70 65 20 | 28 20 69 74 65 6d 54 79 |temType |( itemTy|
|00001860| 70 65 3a 49 6e 74 65 67 | 65 72 3b 20 74 68 65 44 |pe:Integ|er; theD|
|00001870| 69 61 6c 6f 67 50 74 72 | 3a 44 69 61 6c 6f 67 50 |ialogPtr|:DialogP|
|00001880| 74 72 3b 20 69 74 65 6d | 49 44 3a 49 6e 74 65 67 |tr; item|ID:Integ|
|00001890| 65 72 29 20 20 3b 0d 50 | 52 4f 43 45 44 55 52 45 |er) ;.P|ROCEDURE|
|000018a0| 20 53 65 74 44 49 74 65 | 6d 56 61 6c 75 65 20 28 | SetDIte|mValue (|
|000018b0| 20 69 74 65 6d 56 61 6c | 75 65 3a 49 6e 74 65 67 | itemVal|ue:Integ|
|000018c0| 65 72 3b 20 74 68 65 44 | 69 61 6c 6f 67 50 74 72 |er; theD|ialogPtr|
|000018d0| 3a 44 69 61 6c 6f 67 50 | 74 72 3b 20 69 74 65 6d |:DialogP|tr; item|
|000018e0| 49 44 3a 49 6e 74 65 67 | 65 72 29 20 20 3b 0d 50 |ID:Integ|er) ;.P|
|000018f0| 52 4f 43 45 44 55 52 45 | 20 53 65 74 49 54 65 78 |ROCEDURE| SetITex|
|00001900| 74 20 28 20 74 68 65 44 | 69 61 6c 6f 67 50 74 72 |t ( theD|ialogPtr|
|00001910| 3a 44 69 61 6c 6f 67 50 | 74 72 3b 20 69 74 65 6d |:DialogP|tr; item|
|00001920| 49 44 3a 49 6e 74 65 67 | 65 72 3b 20 74 68 65 53 |ID:Integ|er; theS|
|00001930| 74 72 69 6e 67 3a 53 74 | 72 32 35 35 29 20 20 3b |tring:St|r255) ;|
|00001940| 0d 50 52 4f 43 45 44 55 | 52 45 20 53 68 6f 77 44 |.PROCEDU|RE ShowD|
|00001950| 49 74 65 6d 20 28 20 74 | 68 65 44 69 61 6c 6f 67 |Item ( t|heDialog|
|00001960| 50 74 72 3a 44 69 61 6c | 6f 67 50 74 72 3b 20 69 |Ptr:Dial|ogPtr; i|
|00001970| 74 65 6d 49 44 3a 49 6e | 74 65 67 65 72 29 20 20 |temID:In|teger) |
|00001980| 3b 0d 46 55 4e 43 54 49 | 4f 4e 20 53 74 6f 70 41 |;.FUNCTI|ON StopA|
|00001990| 6c 65 72 74 20 28 20 61 | 6c 65 72 74 54 65 6d 70 |lert ( a|lertTemp|
|000019a0| 6c 61 74 65 50 74 72 3a | 41 6c 65 72 74 54 65 6d |latePtr:|AlertTem|
|000019b0| 70 6c 61 74 65 3b 20 66 | 69 6c 74 65 72 50 72 6f |plate; f|ilterPro|
|000019c0| 63 50 74 72 3a 57 6f 72 | 64 50 72 6f 63 50 74 72 |cPtr:Wor|dProcPtr|
|000019d0| 29 20 3a 20 49 6e 74 65 | 67 65 72 20 3b 0d 50 52 |) : Inte|ger ;.PR|
|000019e0| 4f 43 45 44 55 52 45 20 | 55 70 64 61 74 65 44 69 |OCEDURE |UpdateDi|
|000019f0| 61 6c 6f 67 20 28 20 74 | 68 65 44 69 61 6c 6f 67 |alog ( t|heDialog|
|00001a00| 50 74 72 3a 44 69 61 6c | 6f 67 50 74 72 3b 20 75 |Ptr:Dial|ogPtr; u|
|00001a10| 70 64 61 74 65 52 67 6e | 48 61 6e 64 6c 65 3a 52 |pdateRgn|Handle:R|
|00001a20| 65 67 69 6f 6e 48 6e 64 | 6c 29 20 20 3b 0d 0d 49 |egionHnd|l) ;..I|
|00001a30| 4d 50 4c 45 4d 45 4e 54 | 41 54 49 4f 4e 0d 0d 45 |MPLEMENT|ATION..E|
|00001a40| 4e 44 2e 0d 00 00 00 00 | 00 00 00 00 00 00 00 00 |ND......|........|
|00001a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a80| 00 00 01 00 00 00 01 6e | 00 00 00 6e 00 00 00 3e |.......n|...n...>|
|00001a90| 74 6e 53 65 6c 42 61 63 | 6b 20 47 45 51 55 20 34 |tnSelBac|k GEQU 4|
|00001aa0| 0d 6f 62 74 74 6e 4e 6f | 72 54 65 78 74 20 47 45 |.obttnNo|rText GE|
|00001ab0| 09 44 69 61 6c 6f 67 73 | 2e 70 02 00 00 00 54 45 |.Dialogs|.p....TE|
|00001ac0| 58 54 4d 50 53 20 01 00 | 00 00 01 80 00 00 00 00 |XTMPS ..|........|
|00001ad0| 00 00 54 45 58 54 4d 50 | 53 20 01 00 00 00 01 80 |..TEXTMP|S ......|
|00001ae0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001af0| 00 00 a1 49 a6 80 00 00 | 19 c4 00 00 01 ac 65 72 |...I....|......er|
|00001b00| 20 47 45 51 55 20 34 0d | 6f 63 74 6c 52 65 63 74 | GEQU 4.|octlRect|
|00001b10| 20 47 45 51 55 20 38 0d | 6f 63 74 6c 46 6c 61 67 | GEQU 8.|octlFlag|
|00001b20| 20 47 45 51 55 20 31 36 | 0d 6f 63 74 6c 48 69 6c | GEQU 16|.octlHil|
|00001b30| 69 74 65 20 47 45 51 55 | 20 31 37 0d 6f 63 74 6c |ite GEQU| 17.octl|
|00001b40| 56 61 6c 75 65 20 47 45 | 51 55 20 31 38 0d 6f 63 |Value GE|QU 18.oc|
|00001b50| 74 6c 50 72 6f 63 20 47 | 45 51 55 20 32 30 0d 6f |tlProc G|EQU 20.o|
|00001b60| 63 74 6c 41 63 74 69 6f | 6e 20 47 45 51 55 20 32 |ctlActio|n GEQU 2|
|00001b70| 34 0d 6f 63 74 6c 44 61 | 74 61 20 47 45 51 55 20 |4.octlDa|ta GEQU |
|00001b80| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 0a 00 96 |...H..Mo|naco....|
|00001b90| 00 00 00 a8 7f ff 7f ff | 00 00 00 a0 00 01 ef ec |........|........|
|00001ba0| 00 2c 00 17 00 2c 00 06 | 00 02 00 3c 00 24 01 dd |.,...,..|...<.$..|
|00001bb0| 02 3d 00 3c 00 24 01 dd | 02 3d a2 dc ed 97 00 00 |.=.<.$..|.=......|
|00001bc0| 00 00 00 00 00 00 00 00 | 00 00 01 00 00 00 00 1e |........|........|
|00001bd0| 00 3c 00 24 01 dd 02 3d | 00 3c 00 24 01 dd 02 3d |.<.$...=|.<.$...=|
|00001be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001bf0| 01 00 00 00 01 6e 00 00 | 00 6e 00 00 00 3e 00 93 |.....n..|.n...>..|
|00001c00| dc 58 0b 06 00 00 00 1c | 00 3e 00 00 4d 50 53 52 |.X......|.>..MPSR|
|00001c10| 00 01 00 0a 03 ed ff ff | 00 00 00 00 00 00 00 00 |........|........|
|00001c20| 03 f0 ff ff 00 00 00 4c | 00 00 00 00 00 00 00 00 |.......L|........|
|00001c30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001c40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001c50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001c60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001c70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+